﻿using UnityEngine;
using System.Collections;

public class Efeito : MonoBehaviour {

	float tempo = 0.45f;

	private IEnumerator KillOnAnimationEnd() {
		yield return new WaitForSeconds (tempo);
		Destroy (gameObject);
	}
	
	void Update () {

	}

	void Start () {
		StartCoroutine (KillOnAnimationEnd ());
	}

}
